///*
// * CS_REQ_WORLD_BOSS_DETAIL_INFO.cpp
// *
// *  Created on: 2014. 1. 13.
// *      Author: jjaehuny
// */
//
//
//#include "../../Command.h"
//
//#include "../../User.h"
//#include "../../NLogic/Space.h"
//
//
//namespace ProjectZ { namespace NCommand {
//
//static void SendAck_CS_REQ_WORLD_BOSS_DETAIL_INFO(User * pUser, int16_t ack)
//{
//	::Network::Packet * pAck = ::Network::GETPACKETPOOL()->SEND_NEW();
//	* pAck << static_cast<int16_t>(ack);
//	pAck->MakePacket(CMD_SN_REQ_WORLD_BOSS_DETAIL_INFO);
//	pUser->Send(pAck);
//}
//
//void Command::CS_REQ_WORLD_BOSS_DETAIL_INFO(User * pUser, ::Network::Packet * pPacket)
//{
//	/*
//	CS_REQ_WORLD_BOSS_DETAIL_INFO		 	0x4017
//	{
//		u16 u16dungeon_tid;
//	}
//
//	SN_REQ_WORLD_BOSS_DETAIL_INFO 			0x4018
//	{
//		s16 sAck;
//		u16 u16boss_tid1;
//		u16 u16boss_tid2;
//		u16 u16boss_tid3;
//		u16 u16boss_lv; // 각 유저 중 max level
//		u8 u8remain_hp_percent;
//		u16 u16map_id;
//	}
//	*/
//
//	NLogic::Space * pWorld = pUser->GetSpace();
//	if (NULL == pWorld)
//	{
//		DEBUGLOG("%s NULL == pWorld", __FUNCTION__);
//		SendAck_CS_REQ_WORLD_BOSS_DETAIL_INFO(pUser, ACK_NO_SPACE);
//		return;
//	}
//
//	if (pWorld->GetData()._spaceType != NLogic::Space::SpaceType::WORLD)
//	{
//		DEBUGLOG("%s pWorld->GetData()._spaceType != NLogic::Space::SpaceType::WORLD", __FUNCTION__);
//		SendAck_CS_REQ_WORLD_BOSS_DETAIL_INFO(pUser, ACK_NO_SPACE);
//		return;
//	}
//
//	if (pUser->GetEnumState() != User::EnumState::__NONE__)
//	{
//		DEBUGLOG("%s pUser->GetEnumState() != User::EnumState::__NONE__", __FUNCTION__);
//		SendAck_CS_REQ_WORLD_BOSS_DETAIL_INFO(pUser, ACK_UNKNOWN_ERROR);
//		return;
//	}
//
////	NLogic::Space::Data clsData;
////	clsData._maxUser = 1;
////	clsData._table_id = u16dungeon_tid;
////	clsData._difficulty = u8difficulty;
////	clsData._spaceType = NLogic::Space::SpaceType::NEW_PARTY_ROOM;
////
////	NLogic::Space * pWorldBossSingleSpace = NLogic::Static::Instance().GETSPACEPOOL()->NEW();
////
////	pWorld->LeaveUser(pUser);
////	pWorldBossSingleSpace->EnterUser(pUser);
////
////	SendAck_SC_REQ_WORLD_BOSS_CREATE_SINGLE(pUser, ACK_OK);
//}
//
//} /*NCommand*/ } /*ProjectZ*/
//
//
